import request from '@/utils/request'

// 查询投资机构收录列表
export function listInvestorInclusion(query) {
  return request({
    url: '/investorInclusion/list',
    method: 'get',
    params: query
  })
}

// 查询投资机构收录详细
export function getInvestorInclusion(id) {
  return request({
    url: '/investorInclusion/' + id,
    method: 'get'
  })
}
export function getExamineStatus(projectId) {
  return request({
    url: '/inclusionExamine/getExamineStatus/' + projectId,
    method: 'get'

  })
}

// 新增投资机构收录
export function addInvestorInclusion(data) {
  return request({
    url: '/investorInclusion',
    method: 'post',
    data: data
  })
}

// 修改投资机构收录
export function updateInvestorInclusion(data) {
  return request({
    url: '/investorInclusion',
    method: 'put',
    data: data
  })
}

// 删除投资机构收录
export function delInvestorInclusion(id) {
  return request({
    url: '/investorInclusion/' + id,
    method: 'delete'
  })
}
